import React, { FC } from 'react';
import GGEditor, { Mind } from 'gg-editor';
import data from './data.json';

GGEditor.setTrackable(false);

const GGEditor_: FC = () => {
  return (
    <GGEditor>
      <Mind
        data={data}
        style={{
          width: '100%',
          height: 500,
        }}
      />
    </GGEditor>
  );
};

export default GGEditor_;
